package com.example.service;

import com.github.pagehelper.PageInfo;
import com.example.entity.Department;

import java.util.List;

/**
 * @Description TODO
 * @Author dingchunlin
 * @Date 2023/12/27 20:34
 * @Version 1.0.0
 */
public interface DepartmentService {

    Department selectById(Integer id);

    void add(Department department);

    void deleteById(Integer id);

    void deleteBatch(List<Integer> ids);

    void updateDepartment(Department department);

    List<Department> selectAll(Department department);

    PageInfo<Department> selectPage(Department department, Integer pageNum, Integer pageSize);
}
